Pronamic\WordPress\Pay\Extensions\RestrictContent\Upgrade216 A

Total Complexity 53
Dependencies 7
Dependents 1
Total lines 571
Lines of code 332
Logical lines of code 163
Comment lines 137
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
upgrade_subscriptions()
B
33 18 110
upgrade_payments()
A
43 10 51
get_rcp_membership_by_rcp_payment_id()
A
52 8 27
cli_init()
S
45 1 51
get_rcp_membership_by_wp_user_id()
S
63 3 11
__construct()
S
67 3 7
get_payment_posts()
S
53 1 25
get_subscription_posts()
S
54 1 22
log()
S
73 2 5
is_rcp_membership_for_wp_user_id()
S
66 2 8
get_rcp_payment_by_rcp_payment_id()
S
67 2 8
execute()
S
79 1 3
upgrade()
S
78 1 4